
<div class="sidebar sidebar-dark bg-dark">
    <ul class="list-unstyled">

        <li class="@if(Request::routeIs('admin.dashboard')) active @endif"><a href="{{route('admin.dashboard')}}"><i class="fa fa-fw fa-tachometer-alt"></i> Dashboard</a></li>

        <li class="@if(Request::routeIs('currency.index')) active @endif">
            <a href="{{route('currency.index')}}"><i class="fa fa-fw fa-exchange-alt"></i> Manage Currency</a>
        </li>
        <li class="@if(Request::routeIs('referral.index')) active @endif">
            <a href="{{route('referral.index')}}"><i class="fa fa-fw fa-users"></i> Manage Referral</a>
        </li>


        <li>
            <a href="#ex_menu" data-toggle="collapse"><i class="fa fa-fw fa-exchange-alt"></i> Manage Exchange</a>
            <ul id="ex_menu" class="list-unstyled collapse @if((Request::routeIs('exchange.requests')) || Request::routeIs('exchange.approved') || Request::routeIs('exchange.cancel') || Request::routeIs('exchange.refund') || Request::routeIs('exchange.details')) show @endif">

                <li class="@if(Request::routeIs('exchange.requests')) active @endif"><a href="{{route('exchange.requests')}}"> Pending Order </a></li>
                <li class="@if(Request::routeIs('exchange.approved')) active @endif"><a href="{{route('exchange.approved')}}"> Confirm Order</a></li>
                <li class="@if(Request::routeIs('exchange.cancel')) active @endif"><a href="{{route('exchange.cancel')}}"> Cancel Order</a></li>
                <li class="@if(Request::routeIs('exchange.refund')) active @endif"><a href="{{route('exchange.refund')}}"> Refunded Order</a></li>
            </ul>
        </li>



        <li>
            <a href="#blog_menu" data-toggle="collapse"><i class="fa fa-fw fa-newspaper"></i> Manage Blog</a>
            <ul id="blog_menu" class="list-unstyled collapse @if((Request::routeIs('admin.cat')) || Request::routeIs('admin.blog')) show @endif">

                <li class="@if(Request::routeIs('admin.cat')) active @endif"><a href="{{route('admin.cat')}}"> Blog Category </a></li>
                <li class="@if(Request::routeIs('admin.blog')) active @endif"><a href="{{route('admin.blog')}}"> Manage Blog</a></li>
            </ul>
        </li>


        <li class="@if(Request::routeIs('manage.subscribers')) active @elseif(Request::routeIs('send.mail.subscriber')) active @endif">
            <a href="{{route('manage.subscribers')}}"><i class="fa fa-fw fa-thumbs-up"></i> All Subscribers</a>
        </li>


        <li>
            <a href="#sm_users" data-toggle="collapse">
                <i class="fa fa-fw fa-users"></i> Manage User
            </a>
            <ul id="sm_users" class="list-unstyled collapse @if(request()->path() == 'admin/users')  show
                @elseif(request()->is('admin/user-banned'))  show
                @elseif(request()->is('admin/user-document'))  show
                @elseif(request()->is('admin/mail/*'))  show
                @elseif(request()->is('admin/user/*'))  show
                @elseif(request()->is('admin/user-transaction/*'))  show
                @elseif(request()->is('admin/user-deposit/*'))  show
                @elseif(request()->is('admin/user-withdraw/*'))  show
                @elseif(request()->is('admin/user-login-history/*'))  show
                @elseif(request()->is('admin/user-search*'))  show
                        @endif">
                <li class="@if(request()->is('admin/users')) active @endif"><a href="{{route('users')}}"><i class="icon fa fa-user"></i> Users</a></li>
                <li class="@if(request()->is('admin/user-banned')) active @endif"><a href="{{route('user.ban')}}" ><i class="icon fa fa-ban"></i> Banned User</a></li>
            </ul>
        </li>



        <li>
            <a href="#sm_deposit" data-toggle="collapse">
                <i class="fa fa-fw fa-credit-card"></i> Manage Deposit
            </a>
            <ul id="sm_deposit" class="list-unstyled collapse
                @if(request()->is('admin/deposits')) show
                @elseif(request()->is('admin/gateway')) show
                 @elseif(request()->is('admin/gateway/*'))  show
                @endif">
                <li class="@if(request()->is('admin/deposits')) active @endif"><a href="{{route('deposits')}}"><i class="icon fa fa-credit-card"></i> Deposit Log</a></li>
                <li class="@if(request()->is('admin/gateway')) active @endif"><a href="{{route('gateway')}}"><i class="icon fa fa-credit-card"></i> Deposit Method</a></li>
            </ul>
        </li>


        <li>
            <a href="#sm_withdraw" data-toggle="collapse">
                <i class="fa fa-fw fa-money-bill-alt"></i> Manage Withdraw
            </a>
            <ul id="sm_withdraw" class="list-unstyled collapse
                @if(Request::routeIs('withdraw.requests') || Request::routeIs('withdraw.approved') || Request::routeIs('withdraw.refunded')) show @endif ">

                <li class="@if(Request::routeIs('withdraw.requests')) active @endif"><a href="{{route('withdraw.requests')}}"><i class="icon fa fa-money-bill-alt"></i> Withdraw Request</a></li>
                <li class="@if(Request::routeIs('withdraw.approved')) active @endif"><a href="{{route('withdraw.approved')}}"><i class="icon fa fa-money-bill-alt"></i> Withdraw Approved</a></li>
                <li class="@if(Request::routeIs('withdraw.refunded')) active @endif"><a href="{{route('withdraw.refunded')}}"><i class="icon fa fa-money-bill-alt"></i> Withdraw Refunded</a></li>
            </ul>
        </li>





<li>
<a href="#sm_webcontrol" data-toggle="collapse">
<i class="fa fa-fw fa-bars"></i> Website Control
</a>
<ul id="sm_webcontrol" class="list-unstyled collapse

    @if((Request::routeIs('admin.GenSetting')) || Request::routeIs('email.template') || Request::routeIs('sms.api') || Request::routeIs('contact-setting')) show
    @elseif((Request::routeIs('language-manage')) || Request::routeIs('language-key')) show @endif">

<li class="@if(Request::routeIs('admin.GenSetting')) active @endif"><a href="{{route('admin.GenSetting')}}"><i class="icon fa fa-cogs"></i> General Setting </a></li>
<li class="@if(Request::routeIs('email.template')) active @endif"><a href="{{route('email.template')}}"><i class="icon fa fa-envelope"></i> Email Setting</a></li>
<li class="@if(Request::routeIs('sms.api')) active @endif"><a href="{{route('sms.api')}}"><i class="icon fa fa-mobile"></i> SMS Setting</a></li>
<li class="@if(Request::routeIs('contact-setting')) active @endif"><a href="{{route('contact-setting')}}"><i class="icon fa fa-phone"></i> Contact Setting </a></li>

<li class="@if(Request::routeIs('language-manage') || Request::routeIs('language-key')) active @endif">
    <a href="{{route('language-manage')}}"><i class="icon fa fa-language"></i> language Manage  </a></li>
</ul>
</li>



<li>
<a href="#sm_interfacecontrol" data-toggle="collapse">
<i class="fa fa-fw fa-desktop"></i> Interface Control
</a>
<ul id="sm_interfacecontrol" class="list-unstyled collapse
        @if((Request::routeIs('manage-logo')) || Request::routeIs('manage-footer') || Request::routeIs('mange-breadcrumb')  || Request::routeIs('manage-social')) show
        @elseif((Request::routeIs('manage-about')) || Request::routeIs('manage-terms') || Request::routeIs('manage-privacy')  || Request::routeIs('slider')) show
        @elseif((Request::routeIs('faqs-create')) || Request::routeIs('faqs-all') || Request::routeIs('faqs-edit') || Request::routeIs('admin.testimonial')) show
        @elseif((Request::routeIs('team')) || Request::routeIs('create.team') || Request::routeIs('edit.team') || Request::routeIs('our.event')) show
        @endif">


<li class="@if(Request::routeIs('manage-logo')) active @endif"><a href="{{route('manage-logo')}}"><i class="icon fab fa-slack"></i> Logo & favicon </a></li>
<li class="@if(Request::routeIs('mange-breadcrumb')) active @endif"><a href="{{route('mange-breadcrumb')}}"><i class="icon fa fa-images"></i> Manage Breadcrumb </a></li>
<li class=" @if(Request::routeIs('manage-footer')) active @endif"><a href="{{route('manage-footer')}}"><i class="icon fa fa-info-circle"></i> Manage  Text </a></li>
<li class="@if(Request::routeIs('manage-social')) active @endif"><a href="{{route('manage-social')}}"><i class="icon fa fa-share-square"></i> Manage Social </a></li>
<li class="@if(Request::routeIs('manage-about')) active @endif"><a href="{{route('manage-about')}}"><i class="icon fa fa-info-circle"></i> Manage About </a></li>

<li class="@if(Request::routeIs('admin.testimonial')) active @endif"><a href="{{route('admin.testimonial')}}"><i class="icon fa fa-desktop"></i> Testimonial</a></li>
<li class="@if(Request::routeIs('team') || Request::routeIs('create.team') || Request::routeIs('edit.team')) active @endif"><a href="{{route('team')}}"><i class="icon fa fa-users"></i> Our Team </a></li>
<li class="@if(Request::routeIs('our.event')) active @endif"><a href="{{route('our.event')}}"><i class="icon fa fa-calendar"></i> Why Choose Us </a></li>

<li class="@if(Request::routeIs('faqs-create')) active @endif"><a href="{{route('faqs-create')}}"><i class="icon fa fa-plus"></i> New Faq </a></li>
<li class="@if(Request::routeIs('faqs-all') || Request::routeIs('faqs-edit')) active @endif"><a href="{{route('faqs-all')}}"><i class="icon fa fa-question"></i> Manage Faqs </a></li>

</ul>
</li>



</ul>
</div>